<?=n_mod('skin')->pageHead("同步复制", array()) ?>
<div class="n-row n-margin-default-top n-margin-default-bottom">
	<form method="post" action="<?=n_url('nconfig', 'syncEdit')?>">
		<div class="a-form">
			<label class="n-col-2 n-nopadding-left">从</label>
			<div class="n-col-6 n-nopadding">
				<select id="src" name="src">
					<option value="0">请选择</option>
					<?php
					foreach ($data['site'] as $key => $val) :
					?>
					<option value="<?=$val['scode']?>"><?=$val['name']?></option>
					<?php
					endforeach;
					?>
				</select>
			</div>
			<div class="n-col-4"></div>
		</div>
		<div class="a-form">
			<label class="n-col-2 n-nopadding-left">复制到</label>
			<div class="n-col-6 n-nopadding">
				<select id="dest" name="dest">
					<option value="0">请选择</option>
					<?php
					foreach ($data['site'] as $key => $val) :
					?>
					<option value="<?=$val['scode']?>"><?=$val['name']?></option>
					<?php
					endforeach;
					?>
				</select>
			</div>
			<div class="n-col-4"></div>
		</div>
		<div class="n-col-2"></div>
		<div class="n-col-4 n-nopadding">
			<div class="a-form">
				<button type="submit" class="a-button-green">
					<i class="fa fa-2x fa-check" style="color:#fff;"></i>
				</button>
			</div>
		</div>
	</form>
	<div class="n-col-2 n-nopadding n-padding-default-left">
		<button class="a-button-default">
			<?php
			$url = n_url('nconfig', 'index');
			?>
			<a target="_self" href="<?=$url?>">
				<i class="fa fa-2x fa-remove" style="display:block;"></i>
			</a>
		</button>
	</div>
</div>
